home *** CD-ROM | disk | FTP | other *** search
/ Quarterdeck Expanded Memory Manager 7.0 / Quarterdeck Expanded Memory Manager v7.0.img / TECHNOTE.QIP / MSDOS6.TEC < prev    next >
Text File  |  1993-06-18  |  20KB  |  393 lines

  1.  
  2.                MS-DOS 6 and Quarterdeck Products
  3.  
  4.  
  5.   This QEMM 7 technote is an abridged version of a technical
  6.   bulletin that is available through our standard support channels.
  7.   The information contained in this version pertains ONLY to QEMM
  8.   version 7.0.  If you need information relating to earlier versions
  9.   of QEMM you can obtain the unabridged version from the following
  10.   sources:
  11.  
  12.   Quarterdeck Technical Support BBS:  MSDOS6.TEC
  13.                          CompuServe:  MSDOS6.ZIP
  14.                               Q/FAX:  #166
  15.  
  16.  
  17.   Subject: A discussion of MS-DOS version 6.0 and Quarterdeck
  18.   products.
  19.  
  20.  
  21.   1.  IS MS-DOS 6 COMPATIBLE WITH MY QUARTERDECK PRODUCTS?
  22.  
  23.   Absolutely!  The Microsoft DOS 6 README.TXT file states, in
  24.   Section 6.10: "Quarterdeck's QEMM memory manager is compatible
  25.   with MS-DOS 6." In addition, there are no known incompatibilities
  26.   between MS DOS 6.0 and Quarterdeck's DESQview or DESQview/X
  27.   multitaskers.
  28.  
  29.   2. AS A QEMM USER, WHAT INFORMATION DO I NEED TO INSTALL DOS 6?
  30.  
  31.   As a QEMM user, the most important information that you can take
  32.   with you in the installation and configuration of Microsoft DOS 6
  33.   is the knowledge that you are already running the most effective
  34.   memory management system available for the IBM-compatible
  35.   computer.  So, if you are already using QEMM:
  36.  
  37.   a. Run the SETUP program from the DOS 6 installation diskette and
  38.   follow the instructions on the screen.
  39.  
  40.   b. Install any of the new DOS 6 utilities that you desire. DOS 6
  41.   provides you the opportunity to add virus protection and other
  42.   utilities to your system.  Remember: the default installation of
  43.   DOS 6 installs only the MS Windows versions of these utilities;
  44.   you have to tell it to install the DOS versions as well.  This is
  45.   done on the Utilities screen of the SETUP process.
  46.  
  47.   c. Run QEMM's OPTIMIZE to load those drivers into Upper Memory.
  48.  
  49.   If you should desire to experiment with Microsoft DOS 6's
  50.   MemMaker (the program that attempts to provide more memory), we
  51.   can recommend a couple of safeguards.  MemMaker will remove ALL
  52.   the QEMM commands from your CONFIG.SYS and AUTOEXEC.BAT files
  53.   (with the exception of DOSDATA.SYS and DOS-UP.SYS, which you
  54.   would have to remove manually.)  We are confident that you will
  55.   want to return to Quarterdeck's QEMM, so we urge you to save a
  56.   copy of your CONFIG.SYS and AUTOEXEC.BAT files.  Before you begin
  57.   to experiment, copy these files from the root directory to some
  58.   other directory or to floppy diskette. This will allow you to
  59.   restore them easily.
  60.  
  61.   Next, be aware that even if you save the configuration created by
  62.   MemMaker, you can usually reverse its changes by running MEMMAKER
  63.   /UNDO.  If the final screen of the MemMaker process is NOT a
  64.   numerical breakdown of how MemMaker got you more memory (and
  65.   every test that we have run says it will not be), select the
  66.   default exit by pressing the <ENTER> key.  Do NOT press F3 to
  67.   save the current MemMaker configuration.
  68.  
  69.   It may also be helpful to know that MemMaker does NOT handle
  70.   CALLed batch files.  A CALLed batch file is executed with the DOS
  71.   keyword "CALL" which tells DOS to execute the commands in the
  72.   "CALLed" batch file and then resume executing the remaining
  73.   commands in the current batch file (the AUTOEXEC.BAT in this
  74.   case).  The significance of this is that Quarterdeck's Optimize
  75.   process DOES handle CALLed batch files, loading any TSR's in
  76.   those batch files into Upper Memory instead of just ignoring
  77.   them. This means that when MemMaker deletes the QEMM commands
  78.   from the AUTOEXEC.BAT and CONFIG.SYS, it leaves them in the
  79.   Optimized, CALLed batch files.  These would have to be removed by
  80.   editing the CALLed batch files and deleting the LOADHI
  81.   information.  If NO changes have been made since the last time
  82.   that you Optimized your system, you could also run UNOPT.BAT.
  83.   UNOPT is a batch file, created by Optimize, that returns your
  84.   system to the condition it was in before the most recent
  85.   Optimize.  If you have Optimized more than once, this may not
  86.   remove the LOADHI information.
  87.  
  88.   It is obvious that with the greater selection of features in QEMM
  89.   and Optimize MemMaker does not stand a chance of creating more
  90.   Upper Memory. QEMM's Stealth ROM feature adds 96K of Upper
  91.   Memory, 64K more than MemMaker's best attempt to find unused
  92.   space in your System BIOS.  Optimize has the ability, through
  93.   Quarterdeck's Squeeze technology, to "shoe-horn" TSR's and device
  94.   drivers into areas that are large enough for them to reside, but
  95.   too small for them to initialize.  (It is common for drivers and
  96.   resident programs to require larger areas during initialization
  97.   than they need once they have loaded.)  Optimize has a "What-If"
  98.   feature that lets you see the effect that rearranging the loading
  99.   order of your programs and drivers will have on your memory usage
  100.   WITHOUT making any changes to your configuration.  None of this
  101.   is possible with MemMaker.
  102.  
  103.   3.  ARE ANY OF MY QUARTERDECK PRODUCTS AFFECTED BY DOUBLESPACE?
  104.  
  105.   The most talked-about feature of Microsoft DOS 6 is DoubleSpace.
  106.   DoubleSpace was designed to be compatible with QEMM's Stealth ROM
  107.   feature.  Disk compression utilities, including Stacker,
  108.   XtraDrive, and now DoubleSpace, have gone to great lengths to be
  109.   compatible with Stealth ROM as well as Optimize.
  110.  
  111.   DBLSPACE.BIN is a driver that allows your system to recognize
  112.   your DoubleSpace drive.  It is loaded by IO.SYS during boot time,
  113.   BEFORE DOS has even thought about loading QEMM.  DBLSPACE.BIN
  114.   uses about 43K of your memory, and when the CONFIG.SYS has
  115.   completed, the memory used by the resident portion of
  116.   DBLSPACE.BIN appears to be added to the memory used by the LAST
  117.   driver loaded in the CONFIG.SYS.  In other words, the last driver
  118.   loaded appears to be 43K larger than it actually is.  When you
  119.   install DoubleSpace, the following line is added to your
  120.   CONFIG.SYS file:
  121.  
  122.          DEVICE=C:\DOS\DBLSPACE.SYS /MOVE
  123.  
  124.   DBLSPACE.SYS has only one purpose, and that is to make
  125.   DBLSPACE.BIN appear as a "real" driver, separate in memory.
  126.   DoubleSpace REQUIRES that DBLSPACE.SYS be loaded in order for any
  127.   memory manager to load DBLSPACE.BIN into upper memory.
  128.  
  129.   QEMM includes a feature called "Stealth DoubleSpace" which moves
  130.   the DoubleSpace driver out of conventional or upper memory and
  131.   maps it into the expanded memory Page Frame whenever it is
  132.   needed.  By using Stealth DoubleSpace you save approximately 41K
  133.   of memory.  If DoubleSpace is installed on your system when you
  134.   install QEMM 7 the following line will be added to your
  135.   CONFIG.SYS file:
  136.  
  137.           DEVICE=C:\QEMM\ST-DBL.SYS
  138.  
  139.   If you install DoubleSpace AFTER installing QEMM 7, you should
  140.   run QEMM's QSETUP program (by typing QSETUP at the DOS prompt.)
  141.   QSETUP will remove the DBLSPACE.SYS line in your CONFIG.SYS and
  142.   replace it with the ST-DBL.SYS line shown above.
  143.  
  144.   The Stealth DoubleSpace feature, like the Stealth ROM feature,
  145.   requires the EMS page frame to work.  If you have used
  146.   QEMM386.SYS's FRAME=NONE; FRAMELENGTH=0, 1, 2 or 3; or EMS:N
  147.   parameter to eliminate the page frame, the ST-DBL.SYS program
  148.   will act exactly like the DOS 6 driver DBLSPACE.SYS with its
  149.   /MOVE parameter: in other words, it will move DBLSPACE.BIN from
  150.   the top of conventional memory to low conventional memory.  If
  151.   you choose to leave ST-DBL.SYS in your CONFIG.SYS file without a
  152.   page frame, you can use Optimize to load the DoubleSpace driver
  153.   into High RAM, just as you could with DBLSPACE.SYS /MOVE.
  154.  
  155.   DESQview or DESQview/X users should be aware that the
  156.   DBLSPACE.EXE program cannot be run from inside of DESQview or
  157.   DESQview/X.  DBLSPACE.EXE detects the presence of DESQview and
  158.   refuses to run.  This program is used mainly for the creation and
  159.   maintenance of DoubleSpace drives.
  160.  
  161.   Quarterdeck has a program called NODESQ.COM that can be run in a
  162.   DESQview window, before a program that detects DESQview.  NODESQ
  163.   defeats the DESQview detection of DESQview-aware applications,
  164.   like DBLSPACE.EXE.  You can add NODESQ.COM (available from the
  165.   Quarterdeck BBS) and run DBLSPACE.EXE (as is the case for most of
  166.   the DESQview-sensitive DOS 6 programs), but you may run some
  167.   risk.  You should see that all DoubleSpace drives are mounted
  168.   before entering any multitasking environment.  You should not
  169.   mount drives using DBLSPACE.EXE inside of DESQview.  This may
  170.   make working with DoubleSpaced floppies slightly awkward.
  171.  
  172.   4.  HOW CAN I RESTORE MY QEMM CONFIGURATION AFTER MEMMAKER HAS
  173.       REMOVED QEMM FROM MY CONFIG.SYS AND AUTOEXEC.BAT FILES?
  174.  
  175.   The steps that you must follow in order to return to QEMM after
  176.   running MemMaker depend on whether you have:
  177.  
  178.   1. Not yet completed MemMaker;
  179.   2. Just finished running MemMaker for the first time;
  180.   3. Run MemMaker more than once   OR
  181.      made numerous post-MemMaker changes to your configuration.
  182.  
  183.   For the Number 1's who have not yet completed MemMaker:
  184.  
  185.   When MemMaker completes and DOES NOT provide a better
  186.   configuration than the one you already had, it will tell you
  187.   "Your computer's memory was optimally configured before you ran
  188.   MemMaker".  At this juncture you can press <ENTER> to restore
  189.   your original configuration or F3 to save the MemMaker
  190.   configuration.  Your choice at this time will be <ENTER>.  Your
  191.   existing QEMM configuration will be restored.
  192.  
  193.   For the Number 2's who just completed MemMaker:
  194.  
  195.   Since you have completed the MemMaker process, it has probably
  196.   become evident to you that nothing provides more Upper Memory for
  197.   loading your TSR's and device drivers than QEMM.  Hopefully, you
  198.   followed our advice and made copies of your QEMM Optimized
  199.   CONFIG.SYS and AUTOEXEC.BAT.  You can now just copy them back.
  200.   If you did not, and MemMaker has completed, you may be able to
  201.   recover your configuration by using DOS 6's MEMMAKER /UNDO
  202.   command.  This restores your CONFIG.SYS and AUTOEXEC.BAT files to
  203.   the state they were in before the last time you completed
  204.   MemMaker.
  205.  
  206.   However, this is not possible if you have deleted the backup
  207.   copies of the AUTOEXEC.BAT and CONFIG.SYS files that MemMaker
  208.   puts in the same directory as MEMMAKER.EXE.  These files are
  209.   named AUTOEXEC.UMB and CONFIG.UMB (and sometimes SYSTEM.UMB; this
  210.   is a copy of your MS Windows SYSTEM.INI file).  It is also not
  211.   possible to restore the QEMM information and remove all the
  212.   MemMaker information if you have run MemMaker MORE than ONCE.
  213.   This would mean that the *.UMB files created by MemMaker would
  214.   NOT have the QEMM information in them, but would still have ONLY
  215.   MemMaker's options installed.
  216.  
  217.   If for some reason MEMMAKER /UNDO does not restore your QEMM
  218.   configuration, do not be concerned.  Simply follow the simple
  219.   instructions in the next section intended for Number 3's.
  220.  
  221.   For the Number 3's who made further changes after MemMaker:
  222.  
  223.   Whether you just finished running Memmaker (but are unable to
  224.   restore your system with /UNDO) or have made extensive changes to
  225.   your CONFIG.SYS and AUTOEXEC.BAT files since running MemMaker,
  226.   restoring your QEMM configuration is a simple matter.  Just type
  227.   QSETUP from the DOS prompt.  QEMM's QSETUP program will remove
  228.   HIMEM.SYS and EMM386.EXE from your CONFIG.SYS file and replace
  229.   them with a QEMM386.SYS device line.  From the QSETUP menu you
  230.   can also enable other options (such as QDPMI and DOS-UP.)  Once
  231.   QSETUP has enabled the options you choose, run QEMM's Optimize
  232.   program to load your device drivers and TSR's into upper memory.
  233.   That is all there is to it.
  234.  
  235.   WILL I HAVE ANY PROBLEMS WITH DESQVIEW OR DESQVIEW/X?
  236.  
  237.   Very few Microsoft DOS 6 issues confront the DESQview or
  238.   DESQview/X user.  Any of the MS-DOS 6 utilities that might, in
  239.   ANY way, cause a problem when run in a multitasking environment
  240.   are DESQview-aware.  These particular programs will post a
  241.   message reminding you that you are currently multitasking.  DOS 6
  242.   uses portions of the DESQview API (Application Programming
  243.   Interface) to detect if DESQview or DESQview/X is running.  You
  244.   will have no problem running these programs outside of the
  245.   multitasking environment.
  246.  
  247.   Available from Quarterdeck (via BBS, CompuServe, or other
  248.   standard support channels), is a program called NODESQ.COM.  If
  249.   NODESQ is run in the window, before running a DESQview-aware
  250.   program, that program will not detect the presence of DESQview.
  251.   You can add NODESQ.COM to a batch file that runs DBLSPACE.EXE.
  252.   You should mount all possible drives before starting DESQview or
  253.   DESQview/X.  You should not mount drives using DBLSPACE.EXE
  254.   inside of DESQview.  This may make working with DoubleSpaced
  255.   floppies slightly awkward.
  256.  
  257.   VSAFE is the resident virus protection program that watches for
  258.   certain acts of virii and provides a warning when it finds one.
  259.   VSAFE can be loaded in XMS (23K conventional, 23K XMS) or EMS
  260.   (6.5K conventional, 64K EMS) before DESQview loads. If you do
  261.   this, then you CANNOT ALWAYS pop it up over DESQview.  If you
  262.   try, most of the time DESQview will appear to lose control over
  263.   the keyboard. The DESQ key will NOT pull up the menu, etc.  This
  264.   is because VSAFE is up; you just can't see it.  You have to hit
  265.   ESC to make it go away.  Then all will function as normal.  If
  266.   VSAFE is forced into Conventional memory (44K) it will pop up
  267.   inside of DESQview.  VSAFE cannot be unloaded while inside of
  268.   DESQview, if it was loaded before DESQview.
  269.  
  270.   THE DOS 6 INTERACTIVE BOOT PROCESS:
  271.  
  272.   DOS 6 now has an "interactive" boot process.  You can program the
  273.   CONFIG.SYS to query you, every time the system boots, before
  274.   loading a particular command in the CONFIG.SYS.  This is done by
  275.   adding a "?" to the command before the "=" in the command.  The
  276.   line: "DOS?=HIGH" would produce the following on the screen:
  277.   "DOS=HIGH [Y,N]?" and you can make a choice as to load it or not.
  278.   Optimize removes the "?" from any line that is edited by
  279.   Optimize.  These include the lines in the CONFIG.SYS that begin
  280.   with BUFFERS=, DEVICE=, or INSTALL=.
  281.  
  282.   Another feature in the interactive boot process is the ability to
  283.   build menus of configurations in the CONFIG.SYS and AUTOEXEC.BAT.
  284.   This is accomplished by building "blocks" in the CONFIG.SYS, and
  285.   having the name of the block selection that you make on boot
  286.   passed to the AUTOEXEC.BAT as an environment variable -%config%.
  287.   The use of the environment variable, for IF's and GOTO's, will
  288.   then process a particular portion of the AUTOEXEC.BAT file that
  289.   is appropriate to that portion of the CONFIG.SYS.
  290.  
  291.   DOS 6 MULTIPLE CONFIGURATIONS AND QEMM:
  292.  
  293.   Multiple configurations (as implemented via the CONFIG.SYS
  294.   blocks) have to be MemMakered one configuration at a time.  The
  295.   DOS 6 documentation discusses the process of converting your
  296.   CONFIG.SYS and AUTOEXEC.BAT into multiple copies and then
  297.   MemMakering them one at a time. Microsoft warns users to avoid
  298.   [common] blocks and "first entries" in the AUTOEXEC.BAT.
  299.  
  300.   Unlike MemMaker, QEMM's Optimize program handles multiple
  301.   configurations with ease.  When you run Optimize, it will detect
  302.   any multiple configurations you have set up and will post a
  303.   message prompting you to choose the CONFIG.SYS configuration you
  304.   want to Optimize.  (If Optimize is launched automatically by the
  305.   Install program or by QEMM Setup, these programs will also detect
  306.   multiple configurations and pass the information along to the
  307.   Optimize program.)  Optimize will then execute normally, booting
  308.   the system with the configuration that you have chosen.
  309.  
  310.   When you are not using multiple configurations, Optimize places
  311.   the /R:n (REGION:n) parameter on lines that load TSRs and device
  312.   drivers to specify which High RAM region the driver or TSR will
  313.   load into.  When you are using multiple configurations, instead of
  314.   placing /R:n parameters on the QEMM386.SYS and LOADHI lines,
  315.   Optimize will place /RF (/RESPONSEFILE) parameters.  The /R:n
  316.   parameters would not work in a multiple configuration situation,
  317.   because a program might be part of two or more CONFIG.SYS
  318.   configurations, each requiring a different region number.
  319.  
  320.   The /RF parameter gets around this problem by directing
  321.   QEMM386.SYS and the LOADHI programs to look in a resource file
  322.   called LOADHI.RF that Optimize has created in the \QEMM
  323.   directory. (Optimize places a LOADHIDATA environment variable in
  324.   the CONFIG.SYS file that tells QEMM386.SYS and the LOADHI
  325.   programs the name and location of this resource file.)  LOADHI.RF
  326.   will contain several "config blocks," each corresponding to a
  327.   CONFIG.SYS configuration and containing the appropriate /R:n
  328.   statements for that configuration.  QEMM386.SYS and the LOADHI
  329.   programs check the current CONFIG environment variable (created
  330.   at boot time by DOS 6 to indicate which CONFIG.SYS configuration
  331.   is being used), and then choose the appropriate config block to
  332.   get information about what High RAM region they should use to
  333.   load high.
  334.  
  335.   Here is an example of a resource file:
  336.  
  337.   [Vanilla]
  338.   QEMM386.SYS /R:1
  339.   C:\DOS\SETVER.EXE /R:1
  340.   C:\DOS\COMMAND.COM /R:1
  341.  
  342.   [Development]
  343.   QEMM386.SYS /R:1
  344.   C:\DOS\SETVER.EXE /R:1
  345.   C:\QEMM\QDPMI.SYS /R:1
  346.   C:\DOS\COMMAND.COM /R:1
  347.  
  348.   [Full]
  349.   QEMM386.SYS /R:2
  350.   C:\DOS\SETVER.EXE /R:3
  351.   C:\QEMM\QDPMI.SYS /R:3
  352.   C:\DOS\COMMAND.COM /R:2
  353.   C:\PCKWIK\SUPERPCK.EXE /R:2
  354.   C:\NET\IPX.COM /R:1
  355.   C:\NET\EMSNETX.COM /R:2
  356.  
  357.   [All Others]
  358.   QEMM386.SYS /R:1
  359.   C:\DOS\SETVER.EXE /R:1
  360.   C:\QEMM\QDPMI.SYS /R:1
  361.   C:\DOS\COMMAND.COM /R:1
  362.   C:\PCKWIK\SUPERPCK.EXE /R:2
  363.  
  364.   In this example, the blocks named Vanilla, Development, and Full
  365.   will be used only when you choose their names off the menu that
  366.   DOS 6 offers when you boot with multiple configurations.  The All
  367.   Others section will be used only if none of the blocks before it
  368.   were chosen.  If you place a line before the first block, it will
  369.   be used no matter what configuration name you choose.
  370.  
  371.   This file format is also supported by QEMM's parameter files (see
  372.   Chapter 7 of the QEMM manual for information) and by the DOS-Up
  373.   resource file DOS-UP.DAT, which the driver DOS-UP.SYS uses to
  374.   determine where different parts of DOS go in High RAM.  Normally,
  375.   you do not need to edit these files yourself.   Optimize creates
  376.   and maintain the files.
  377.  
  378.  
  379.   6. WHAT ELSE IS QUARTERDECK DOING FOR MS-DOS 6?
  380.  
  381.   Quarterdeck's commitment to adding functionality to DOS, and DOS-
  382.   based programs, has kept our products at the forefront of memory
  383.   management and multitasking technology.  With each new version of
  384.   DOS comes an opportunity for Quarterdeck to design new features
  385.   and offer the DOS user an even greater implementation of the
  386.   world's most widely used operating system.  Rest assured that
  387.   Quarterdeck intends to continue this pattern.
  388.  
  389.   *************************************************************** *
  390.   This technical note may be copied and distributed freely as long
  391.   as it is distributed in its entirety and it is not distributed
  392.   for profit.  Copyright (C) 1993 by Quarterdeck Office Systems
  393.   ****************** E N D   O F   F I L E ***********************